<!--Copyright (C) Kherty.  All rights reserved.-->
<UserControl
    x:Class="OpenLS.Spreadsheet.UI.UnhideControl"
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ss="http://schemas.Kherty.com/office/2007/spreadsheet"
    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals"
    xmlns:Internals1="clr-namespace:OpenLS.UI.Internals;assembly=OpenLS.UI" 
    >
    <!--Title="Unhide"
    -->
  <UserControl.Resources>
    
  </UserControl.Resources>
    <Border BorderBrush="Black" BorderThickness="1" Background="Beige" CornerRadius="18"  Padding="10">
  <DockPanel>
    <TextBlock DockPanel.Dock="Top">Unhide sheets:</TextBlock>
    <DockPanel DockPanel.Dock="Bottom">
      <Button  DockPanel.Dock="Right" IsCancel="True" Content="{x:Static Internals1:UIStringTable.Cancel}"></Button>
      <Button Name="OK" DockPanel.Dock="Right" IsDefault="True" Content="{x:Static Internals1:UIStringTable.OK}"></Button>
      <Rectangle/>
    </DockPanel>
    <ListBox ItemsSource="{Binding}" Name="Worksheets" MinHeight="140" Margin="5">
      <ListBox.ItemTemplate>

        <HierarchicalDataTemplate DataType="{x:Type ss:Worksheet}">
          <TextBlock Text="{Binding Name}"/>
        </HierarchicalDataTemplate>
      </ListBox.ItemTemplate>
    </ListBox>
  </DockPanel>
    </Border>
</UserControl>
